package com.onehouse.domain.room.repository;

import com.onehouse.domain.room.model.RoomEntity;

import java.util.List;
import java.util.Optional;

public interface IRoomRepository {
    RoomEntity save(RoomEntity room);
    Optional<RoomEntity> findByRoomNumber(String roomNumber);
    List<RoomEntity> findAll();
    void deleteById(Long roomId);
    boolean existsByRoomTypeId(Long typeId);
}
